package com.zgcs.sequence.net.in;

public class GameTimeoutPackage extends InPackage {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2528923434322819662L;

	int roomID;
	int userID;
	int nextID;
	String nextNickName;
	String nextIcon;
	int gameIn;
	int gameOut;
	int gameWait;
	int msg;

	public GameTimeoutPackage(String result) {
		super(result);
	}

	@Override
	public void parserSelf() {

		roomID = Integer.parseInt(resultSpl[2]);
		userID = Integer.parseInt(resultSpl[3]);
		nextID = Integer.parseInt(resultSpl[4]);
		nextNickName = resultSpl[5];
		nextIcon = resultSpl[6];
		gameIn = Integer.parseInt(resultSpl[7]);
		gameOut = Integer.parseInt(resultSpl[8]);
		gameWait = Integer.parseInt(resultSpl[9]);
		msg = Integer.parseInt(resultSpl[10]);

	}

	public int getRoomID() {
		return roomID;
	}

	public void setRoomID(int roomID) {
		this.roomID = roomID;
	}

	public int getUserID() {
		return userID;
	}

	public void setUserID(int userID) {
		this.userID = userID;
	}

	public int getNextID() {
		return nextID;
	}

	public void setNextID(int nextID) {
		this.nextID = nextID;
	}

	public String getNextNickName() {
		return nextNickName;
	}

	public void setNextNickName(String nextNickName) {
		this.nextNickName = nextNickName;
	}

	public String getNextIcon() {
		return nextIcon;
	}

	public void setNextIcon(String nextIcon) {
		this.nextIcon = nextIcon;
	}

	public int getGameIn() {
		return gameIn;
	}

	public void setGameIn(int gameIn) {
		this.gameIn = gameIn;
	}

	public int getGameOut() {
		return gameOut;
	}

	public void setGameOut(int gameOut) {
		this.gameOut = gameOut;
	}

	public int getGameWait() {
		return gameWait;
	}

	public void setGameWait(int gameWait) {
		this.gameWait = gameWait;
	}

	public int getMsg() {
		return msg;
	}

	public void setMsg(int msg) {
		this.msg = msg;
	}

}
